﻿<navigation:Page x:Class="OpalisConsole.Views.User_Imaging.Summary" 
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
           xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
           mc:Ignorable="d"
           xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
           xmlns:customControl="clr-namespace:OpalisConsole.Controls"
           d:DesignWidth="640" d:DesignHeight="480"
           Title="Summary Page" xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk">
    <Grid x:Name="LayoutRoot" MinWidth="0" MaxWidth="1024">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="10" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="200" />
            <ColumnDefinition Width="450*" />
        </Grid.ColumnDefinitions>
        <TextBlock Grid.ColumnSpan="2" Grid.Row="0" Name="txtSummaryHeader" Text="" TextAlignment="Center" FontSize="20" Margin="10,50,10,5" />
        <StackPanel Grid.Row="1" Name="panelLandingNav" Margin="10,10,10,0" Background="#FF484848" Height="Auto" VerticalAlignment="Top" Width="100" HorizontalAlignment="Center">
            <HyperlinkButton x:Name="LinkWelcome" Style="{StaticResource LinkStyle}"
                                     NavigateUri="/User_Imaging/LandingPage" TargetName="ContentFrame" Content="Welcome" MinWidth="78" />
            <HyperlinkButton x:Name="LinkSoftware" Style="{StaticResource LinkStyle}"
                                     NavigateUri="/User_Imaging/SoftwareValidation" TargetName="ContentFrame" Content="Software" MinWidth="78" />
            <HyperlinkButton x:Name="LinkUseUSMT" Style="{StaticResource LinkStyle}"
                                     NavigateUri="/User_Imaging/UseUSMT" TargetName="ContentFrame" Content="USMT" MinWidth="78" Visibility="Collapsed"  />
            <HyperlinkButton x:Name="LinkSchedule" Style="{StaticResource LinkStyle}"
                                     NavigateUri="/User_Imaging/Scheduling" TargetName="ContentFrame" Content="Scheduling" MinWidth="78" />
            <HyperlinkButton x:Name="LinkSummary" Style="{StaticResource LinkStyle}"
                                     NavigateUri="/User_Imaging/Summary" TargetName="ContentFrame" Content="Summary" MinWidth="78" Foreground="#FF0097FC" />
        </StackPanel>
        <StackPanel Grid.Column="1" Grid.Row="1" Name="stackPanel1" Margin="10" Background="White">
            <TextBlock Name="txtSummaryContent" Text="" Margin="10" TextWrapping="Wrap" FontSize="14" />
        </StackPanel>
        <StackPanel Grid.Column="1" Grid.Row="2" Name="panelPreFlight" Margin="10" Background="White" Visibility="Collapsed">
            <Grid x:Name="gridPreFlightCheck">
                <Grid.RowDefinitions>
                    <RowDefinition Height="23"/>
                    <RowDefinition Height="23"/>
                    <RowDefinition Height="23"/>
                    <RowDefinition Height="23"/>
                    <RowDefinition Height="23"/>
                    <RowDefinition Height="23"/>
                    <RowDefinition Height="36"/>
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="2*"/>
                    <ColumnDefinition Width="18*"/>
                    <ColumnDefinition Width="23*"/>
                </Grid.ColumnDefinitions>
                
                <TextBlock Text="Preflight Ready Checks" Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" Name="boxPreflighChecks" FontWeight="Bold" />
                
                <TextBlock HorizontalAlignment="Left" VerticalAlignment="Center" Name="txtSummaryMachineOnline" Text="Machine Online" Grid.Row="1" Grid.Column="1" Margin="4"/>
                <customControl:Spinner x:Name="spinnerMachineOnline" Visibility="Visible" Grid.Row="1" Grid.Column="0" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="4" />
                <Image Name="imgMachineOnlineSuccess" Grid.Row="1" Grid.Column="0" HorizontalAlignment="Right" Visibility="Collapsed" VerticalAlignment="Center" Source="/OpalisConsole;component/Images/green-checkmark.jpg" />
                <Image Name="imgMachineOnlineFailure" Grid.Row="1" Grid.Column="0" HorizontalAlignment="Right" Visibility="Collapsed" VerticalAlignment="Center" Source="/OpalisConsole;component/Images/Red-X.jpg" />
                
                <TextBlock HorizontalAlignment="Left" VerticalAlignment="Center" Name="txtSummaryVPNConnection" Text="Not Connected via VPN" Grid.Row="2" Grid.Column="1" Margin="4"/>
                <customControl:Spinner x:Name="spinnerNoVPN" Visibility="Visible" Grid.Row="2" Grid.Column="0" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="4" />
                <Image Name="imgNoVPNSuccess" Grid.Row="2" Grid.Column="0" HorizontalAlignment="Right" Visibility="Collapsed" VerticalAlignment="Center" Source="/OpalisConsole;component/Images/green-checkmark.jpg" />
                <Image Name="imgNoVPNFailure" Grid.Row="2" Grid.Column="0" HorizontalAlignment="Right" Visibility="Collapsed" VerticalAlignment="Center" Source="/OpalisConsole;component/Images/Red-X.jpg" />
                
                <TextBlock HorizontalAlignment="Left" VerticalAlignment="Center" Name="txtSummaryWiredConnection" Text="Wired Connection" Grid.Row="3" Grid.Column="1" Margin="4"/>
                <customControl:Spinner x:Name="spinnerWiredConnection" Visibility="Visible" Grid.Row="3" Grid.Column="0" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="4" />
                <Image Name="imgWiredConnectionSuccess" Grid.Row="3" Grid.Column="0" HorizontalAlignment="Right" Visibility="Collapsed" VerticalAlignment="Center" Source="/OpalisConsole;component/Images/green-checkmark.jpg" />
                <Image Name="imgWiredConnectionFailure" Grid.Row="3" Grid.Column="0" HorizontalAlignment="Right" Visibility="Collapsed" VerticalAlignment="Center" Source="/OpalisConsole;component/Images/Red-X.jpg" />
                
                <TextBlock HorizontalAlignment="Left" VerticalAlignment="Center" Name="txtSummaryACPower" Text="AC Power" Grid.Row="4" Grid.Column="1" Margin="4"/>
                <customControl:Spinner x:Name="spinnerACPower" Visibility="Visible" Grid.Row="4" Grid.Column="0" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="4" />
                <Image Name="imgACPowerSuccess" Grid.Row="4" Grid.Column="0" HorizontalAlignment="Right" Visibility="Collapsed" VerticalAlignment="Center" Source="/OpalisConsole;component/Images/green-checkmark.jpg" />
                <Image Name="imgACPowerFailure" Grid.Row="4" Grid.Column="0" HorizontalAlignment="Right" Visibility="Collapsed" VerticalAlignment="Center" Source="/OpalisConsole;component/Images/Red-X.jpg" />
                
                <TextBlock HorizontalAlignment="Left" VerticalAlignment="Center" Name="txtSummarySCCMAgent"  Text="SCCM Agent Healthy" Grid.Row="5" Grid.Column="1" Margin="4"/>
                <customControl:Spinner x:Name="spinnerHealthySCCM" Visibility="Visible" Grid.Row="5" Grid.Column="0" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="4" />
                <Image Name="imgHealthySCCMSuccess" Grid.Row="5" Grid.Column="0" HorizontalAlignment="Right" Visibility="Collapsed" VerticalAlignment="Center" Source="/OpalisConsole;component/Images/green-checkmark.jpg" />
                <Image Name="imgHealthySCCMFailure" Grid.Row="5" Grid.Column="0" HorizontalAlignment="Right" Visibility="Collapsed" VerticalAlignment="Center" Source="/OpalisConsole;component/Images/Red-X.jpg" />

                <Button Name="btnRecheck" Content="Re-Run Scan" Width="125" Margin="5" Click="btnRecheck_Click" Visibility="Collapsed" Grid.Row="6" Grid.Column="1" HorizontalAlignment="Left" />

                <TextBlock Name="txtPrepHeader" Grid.Row="0" Grid.Column="2" FontWeight="Bold" />
                <ListBox Name="ImageSoftwareList1" HorizontalAlignment="Left" BorderBrush="{x:Null}" Margin="10,0,10,0" Grid.Row="1" Grid.Column="2" Grid.RowSpan="7" >
                    <ListBoxItem Content=" *    Data and Settings Retained in Fresh Start Updated" Foreground="DarkBlue" Name="DataAndSettingsRetention" MouseLeftButtonUp="DataAndSettingsRetention_MouseLeftButtonUp" />
                    <ListBoxItem Content=" *    New VPN Connection Instructions for Laptops" Name="VPNInstructions" Foreground="DarkBlue" MouseLeftButtonUp="VPNInstructions_MouseLeftButtonUp" />
                    <ListBoxItem Content=" *    Self-install Applications How To" Name="SelfInstallApp" Foreground="DarkBlue" MouseLeftButtonUp="SelfInstallApp_MouseLeftButtonUp" />
                    <ListBoxItem Content=" *    BitLocker Drive Encryption and You" Name="Bitlocker" Foreground="DarkBlue" MouseLeftButtonUp="Bitlocker_MouseLeftButtonUp" />
                    <ListBoxItem Content=" *    Get to Know Windows 7 and Office 2010" Name="getToKnowOffice" Foreground="DarkBlue" MouseLeftButtonUp="getToKnowOffice_MouseLeftButtonUp" />
                </ListBox>
            </Grid>
        </StackPanel>
        <StackPanel Grid.Column="0" Grid.ColumnSpan="2" Grid.Row="3" Margin="10" Background="White">
            <TextBlock Name="txtSummaryFooter" Margin="10" TextWrapping="Wrap" Foreground="#FFF20000" TextAlignment="Center" FontSize="14" FontWeight="SemiBold"/>
            <StackPanel Orientation="Horizontal" FlowDirection="RightToLeft">
                <Button Name="btnCancel" Content="Cancel your Scheduled Fresh Start" Width="220" HorizontalAlignment="Center" VerticalAlignment="Top" Margin="10" FlowDirection="LeftToRight" Visibility="Collapsed" IsEnabled="False" Click="btnCancel_Click" />
            </StackPanel>
            <StackPanel Name="stackPanel2" Orientation="Horizontal" FlowDirection="RightToLeft">
                <Button Name="btnFinish" Content="Schedule Your Freshstart" Width="150" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="10" Click="btnFinish_Click"></Button>
                <Button Name="btnPrevious" Content="Previous" Width="60" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="10" FlowDirection="LeftToRight" Click="btnPrevious_Click"></Button>
            </StackPanel>
        </StackPanel>
        <Border BorderBrush="Silver" BorderThickness="1" Grid.RowSpan="4" Grid.ColumnSpan="2" Grid.Column="0" Grid.Row="0" Name="border1">
        </Border>
    </Grid>
</navigation:Page>
